<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType = "text/html; charset=UTF-8" pageEncoding="utf-8" %>
<%@ include file="/common/init.jsp"%>
<html>
<head>
<title>澳斯浪廷会员平台</title>
<link href="<c:url value='/resources/css/css.css'/>" type="text/css" rel="stylesheet"/>
</head>
<body leftmargin="0">
<div class="main">
<div class="width_l"><iframe src="menu.action" frameborder="0" width="250" height="100%" class="menu"></iframe></div>
    <div class="right">
    <div class="width_r">
        <div class="menu_r">
            <ul>
                <li><a href="index.action">首页</a></li>
                <li><a href="information.action">消息</a></li>
                <li><a href="notice.action">公告中心</a></li>
                <li><a href="news.action">新闻中心</a></li>
                <li><a href="inbox.action">收件箱</a></li>
                <li><a href="tomail.action">写邮件</a></li>
                <li><a href="sent.action">已发送</a></li> 
                <li><a href="${ctx}/exit.action">安全退出</a></li> 
            </ul>
        </div>
        <div class="news_top"><img src="<c:url value='/resources/images/top.jpg'/>" /></div>
        <div class="news">
            <h5>收件箱</h5>
			<div class="vvbt">
	          <table width="840" border="0" align="center" cellpadding="0" cellspacing="0">
				  <tr>
				    <td width="500" class="vvd">主题</td>
				    <td width="220" class="vvd">发布时间</td>
				    <td width="120" char="vvd">状态</td>
				  </tr>
			  </table></div>
			  <table width="840" border="0" align="center" cellpadding="0" cellspacing="0">
				<c:forEach var="msg" items="${page.result }">
					<tr>
					    <td width="500" class="vv"><a href="${ctx}/msginfo.action?id=${msg.id}">${msg.title }</a></td>
					    <td width="220" class="vv"><fmt:formatDate value="${msg.createDate}" pattern="yyyy-M-dd HH:mm:ss"/></td>
						<td width="120" class="vv">
							<c:if test="${msg.isRead == '0'}">已读</c:if>
							<c:if test="${msg.isRead == '1'}">未读</c:if>
						</td>
					</tr>
				</c:forEach>
			  </table>
			<%@ include file="/common/turnpage.jsp"%>
        </div>
        <div class="news_down"><img src="<c:url value='/resources/images/down.jpg'/>" /></div>
    </div>
    </div>
</div>

</body>
</html>
<script type="text/javascript">
function frontpage(pageNo){
	window.location.href = "${ctx}/inbox.action?pageNo="+pageNo;
}

function nextpage(pageNo){
	window.location.href = "${ctx}/inbox.action?pageNo="+pageNo;
}
</script>